.middle {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.middle > div {
    width: 1000px;
    border: 1px solid red;
}

.middle > div > div:nth-child(2) {
    padding: 10px;
    overflow: hidden;
}

.middle > div > div:nth-child(2) > div:nth-child(1) > div {
    line-height: 30px;
    margin-bottom: 30px;
    text-indent: 3em;
}

.middle > div > div:nth-child(2) > div:nth-child(2) {
    display: flex;
    overflow: hidden;
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) {
    width: 150px;
    height: 150px;
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div {
    margin: 20px;
    text-align: center;
}

.middle > div  > div:nth-child(1) {
    border-bottom: 1px solid red;
}

/*-----------轮播----------*/
.carousel {
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

@keyframes example {
    0% {
        margin-left: 0;
    }
    25% {
        margin-left: 500px;
    }
    50% {
        margin-left: 1000px;
    }
    75% {
        margin-left: 0;
    }
    100% {
        margin-left: -500px;
    }
}